package kr.or.kosta.otr.persistence.interestcompany;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import kr.or.kosta.otr.vo.InterestCompanyVO;

public interface InterestCompanyDao {
	void addInterestCompany(InterestCompanyVO interestCompanyVO)throws SQLException;
	void deleteInterestCompany(int interestCompanyId)throws SQLException;
	ArrayList<InterestCompanyVO> getAllInterestCompany(String userId)throws SQLException;
	boolean checkInterestCompany(HashMap<String, Object> map) throws SQLException;
	ArrayList<InterestCompanyVO> getAllInterestCompanyList(int companyId)throws SQLException;
	int myInterestCompany(String userId)throws SQLException;
}
